import request from './request.js'
const { httpPost } = request;

// 用户登录
export const login = ()=>{
    return new Promise((resolve,reject)=>{
        httpPost('/login').then(res =>{
            resolve(res)
        })
    })
}